<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <title></title>
    <link href="iUploader.css" rel="stylesheet" type="text/css">
    <link href="iconfont/iconfont.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="jQuery.js"></script>
    <script type="text/javascript" src="iUploader.js"></script>
</head>
<body>
<!-- Possible Attributes -->
<!--
	ListViewMinHeight, 
	GridViewMinHeight, 
	UploadWidth,
	Multiple
-->

<div id="MyUploader">

</div>


<script type="text/javascript">
	$("#MyUploader").iUploader({
		ColumnsNum: 5,
		OnSelected: function(files){
//			 alert(key + " " + name + " " + size + " " + type);
		},
		OnProgress : function(file, uploaded, total){
			console.log(file);
			 console.log(key + "-" + name + "-" + uploaded +"-" + total);
		},
		OnStart : function(file){
			console.log(file);
			 console.log(key + "-" + name + "-" + size +"-" + type);
		},
		OnSuccess: function(file){
			console.log(file);
			 console.log(key + "-" + name + "-" + size +"-" + type);
		}
	});
</script>
</body>
</html>
